package com.axjy.yycg.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class DispatcherHandler {

    @GetMapping("/{level01Module}/{level02Module}/index")
    public String index(@PathVariable("level01Module") String folder, @PathVariable("level02Module")String page){
        return folder+"/"+page;
    }
}
